
def build_hoi_net(cfg, class_corr):
    
    model_name = cfg.MODEL.NAME
    model_name = model_name.upper()
    if model_name == 'PEHO':
        from models.upt_fasterrcnn.model import build_upt_facter_rcnn
        return build_upt_facter_rcnn(cfg, class_corr=class_corr)
    else:
        TypeError(f'Do not supported {model_name} model now!!')
    